package com.imooc.project.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 退款记录表
 * </p>
 *
 * @author jobob
 * @since 2021-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TStatementRefund对象", description="退款记录表")
public class TStatementRefund implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "退款单号")
    private Long refundNo;

    @ApiModelProperty(value = "交易单号(对应时间购买表buy_no)")
    private String tradeNo;

    @ApiModelProperty(value = "应退金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "款项说明  --")
    private String remarks;

    @ApiModelProperty(value = "通行证编号")
    private String userId;

    @ApiModelProperty(value = "通行证账号")
    private String userName;

    @ApiModelProperty(value = "用户姓名（通行证用户姓名）--")
    private String userRealName;

    @ApiModelProperty(value = "退款状态（0：未退款   1已退款）")
    private Integer status;

    @ApiModelProperty(value = "退款完成时间")
    private LocalDateTime completeTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "提交状态（0：未提交  1已提交）")
    private Integer submitStatus;

    @ApiModelProperty(value = "提交时间")
    private LocalDateTime submitTime;


}
